package org.cttic.visualization.visualization.controller;

import org.cttic.visualization.visualization.z_service.stationCountAllQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shkstart
 * @create 2020-05-27 10:32
 * 2.1.2收费站出入汇总统计查询
 */
@RestController
@RequestMapping(value ="/stationCountAll")
@CrossOrigin
public class stationCountAllQueryController {
    @Autowired
    stationCountAllQuery stationCountAllQuery;

    @RequestMapping(value ="/countQuery")
    public String stationCountAllQueryInfo(@RequestBody String inputData){
        return stationCountAllQuery.stationCountQuery(inputData);
    }

}
